Functions > PIC2List Functions > PIC2List CALS Packet Functions |
The P2PktCals structure is defined as:
Copy Code | |
---|---|
typedef struct { BYTE Type; DWORD Length; char CalsID[9]; char CalsData[1]; } P2PktCals; |
Copy Code | |
---|---|
P2PktCals* P2LAddCals(P2LIST* p2l const char* ID, DWORD Len, const char* data) |
Add a Cals PIC2List packet with SFID ID. If data == 0, then the packet is allocated and the data is set to 0. Returns 0 if a memory allocation error occurs.
Copy Code | |
---|---|
P2PktCals* P2LFindCals (const P2LIST* p2l, const char* ID)) |
P2LFindCals returns a pointer to the first Cals packet of type ID in the PIC2List.
Copy Code | |
---|---|
P2PktCals* P2LFindNextCals (const P2LIST* p2l, const P2PktCals* pkt) |
P2LFindNextCals returns a pointer to the next Cals packet of type ID and following pkt.